*{margin:0;padding:0;box-sizing: border-box;}
ul,ol{list-style: none}
a{color:inherit;text-decoration: none;}
.loading{
    position: fixed;
    background: black;
    opacity: 0.2;
    width:100vw;
    height:100vh;
    display:none;
    align-items: center;
    justify-content: center;
    z-index: 2;
    .loadingAnimation{
        border:1px solid #666;
        border-radius:50%;
        width:1px;
        height:1px;
        background: #666;
        animation: loadingAnim 0.8s linear alternate-reverse infinite;
    }
    @keyframes loadingAnim {
        from{
            width:1px;
            height:1px;
        }
        to{
            width:100px;
            height:100px;
        }
    }
}
.loading.active{
    display: flex;
}
body{
    height:100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    nav{
        background: rgb(198,47,47);
        display: flex;
        border-radius: 10px 10px 0 0;
        // margin-bottom:-1px;
        width: 1022px;
        height:70px;
        box-shadow: 0px -2px 28px 0px rgba(0,0,0,0.48);
        .logo{
            margin-top:15px;
            padding-left:10px;
            width:284px;
            height:50px;
            z-index:3;
            svg{
                width:235px;
                height:40px
            }
        }
    }
    .content-wrapper{
        box-shadow: 0px 12px 28px 0px rgba(0,0,0,0.48);
        display: flex;
        height:800px;
        width: 1024px;  
        border:1px solid transparent;
        border-radius:0 0 10px 10px;
        >aside{ 
            height:100%;
            display: flex;
            flex-direction: column;
            color:white;
            border-radius:0 0 10px 0;
            >.newSong{
                min-height:40px;
                width:200px;
                display: flex;
                align-items: center;
                justify-content: center;
                background:#ddd;
                border-bottom:1px solid white;

            }
            >.newSong:hover{
                cursor: pointer;
            }
            >.newSong.active{
                background: white;
                color:black;
                font-weight:400;
                transition:all 0.5s;

            }
            >.songList{
                flex-grow:1;
                background: #ddd;
                border-radius:0 0 0 10px ;
                >ul{    
                    max-height: 794px;
                    overflow-x:hidden;
                    overflow-y:auto;
                    >li{
                        height:40px;
                        padding :10px ;
                        border-bottom :1px solid white;
                        max-width: 200px;
                        overflow:hidden;
                        white-space: nowrap;
                        transition:all 0.5s;
                        position: relative;;
                    }
                    >li:hover{
                        cursor: pointer;
                    }
                    >li.active::after{
                        content:'';
                        
                        display: block;
                        height:35px;
                        width:7px;
                        background: rgb(198,47,47);
                        position: absolute;
                        left:0;
                        top:2px;
                    }
                    >li.active{
                        background: white;
                        color:black;
                        font-weight:400;
                    }
                }
            }

        }
        >main{
            width:100%;
            padding-top:60px;
            padding-left:100px;
            background: #ffffff;
            color:black;
            font-weight: 600;
            border-radius:0 0  10px 0;
            >.dragFile{
                justify-content: flex-end;
                >#container{
                    height:400px;
                    width:600px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border:2px dashed #ddd ;
                    border-radius: 5px;
                    flex-direction: column;
                    >#pickfiles{
                        margin:0 auto;
                        padding: 177px;
                    }
                }
            }
            >.dragFile:hover{
                cursor: pointer;
            }
            >.form-wrapper{
                    position: relative;
                    h1{
                        padding-top:20px;
                        margin-left:206px;
                    }
                 .row{
                     display: flex;
                     align-items: center;
                     padding:10px;
                     font-family: Arial, Helvetica, sans-serif;
                     >input[type=text]{
                        padding:7px;
                        height: 24px;
                        border:1px solid #ddd;
                        border-radius:5px;
                        outline: none;
                     }
                     .formlyrics{
                        position: absolute;
                        left:300px;
                        top:70px;
                        label{
                            position: absolute;
                            top:0px;
                            left:-40px;
                        }
                        >textarea{
                            padding:7px;
                            border:1px solid #ddd;
                            border-radius:5px;
                            outline: none;
                         }
                     }
                    
                     >input[type=submit]{
                        padding:2px 10px;
                        height:36px;
                        width:60px;
                        color:white;
                        background: rgb(198,47,47);
                        border:1px solid #ddd;
                        border-radius:8px;
                        outline:none;
                     }
                 }
            }
        }
    }
}

